package com.mgg.goods.vo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;


public class GoodsVO {

	private String goodsId;

	private String goodsName = "";

	private String goodsTitle = "";

	private BigDecimal salesPrice;

	private BigDecimal goodsPrice;

	private BigDecimal rebateMoney = new BigDecimal(0);

	private long invQty = 0;

	private long salesQty = 0;

	private String goodsView = "";

	private String mainPic = "";

	private String sharePic = "";

	private List<String> goodsPic = new ArrayList<>();

	private List<String> goodsDetail = new ArrayList<>();

	private List<String> goodsSpecParam = new ArrayList<>();

	private List<String> goodsNotice = new ArrayList<>();

	private List<GoodsAttrVO> attrs = new ArrayList<>();

	private List<GoodsSpecVO> specs = new ArrayList<>();

	private String supplierId = "";

	private String goodsType = "0";

	private String status = "1";

	private String activityStarttime = "";

	private String activityEndtime = "";
	
	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsTitle() {
		return goodsTitle;
	}

	public void setGoodsTitle(String goodsTitle) {
		this.goodsTitle = goodsTitle;
	}

	public BigDecimal getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(BigDecimal salesPrice) {
		this.salesPrice = salesPrice;
	}

	public BigDecimal getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	
	public BigDecimal getRebateMoney() {
		return rebateMoney;
	}

	public void setRebateMoney(BigDecimal rebateMoney) {
		this.rebateMoney = rebateMoney;
	}

	public String getGoodsView() {
		return goodsView;
	}

	public void setGoodsView(String goodsView) {
		this.goodsView = goodsView;
	}

	public List<String> getGoodsPic() {
		return goodsPic;
	}

	public void setGoodsPic(String goodsPic) {
		this.goodsPic = Arrays.asList(goodsPic.split(","));
	}

	public long getInvQty() {
		return invQty;
	}

	public void setInvQty(long invQty) {
		this.invQty = invQty;
	}

	public long getSalesQty() {
		return salesQty;
	}

	public void setSalesQty(long salesQty) {
		this.salesQty = salesQty;
	}
	
	public List<String> getGoodsDetail() {
		return goodsDetail;
	}

	public void setGoodsDetail(String goodsDetail) {
		this.goodsDetail = Arrays.asList(goodsDetail.split(","));
	}

	public List<String> getGoodsSpecParam() {
		return goodsSpecParam;
	}

	public void setGoodsSpecParam(String goodsSpecParam) {
		this.goodsSpecParam = Arrays.asList(goodsSpecParam.split(","));
	}

	public List<String> getGoodsNotice() {
		return goodsNotice;
	}

	public void setGoodsNotice(String goodsNotice) {
		this.goodsNotice = Arrays.asList(goodsNotice.split(","));
	}

	public List<GoodsAttrVO> getAttrs() {
		return attrs;
	}

	public void setAttrs(List<GoodsAttrVO> attrs) {
		this.attrs = attrs;
	}

	public List<GoodsSpecVO> getSpecs() {
		return specs;
	}

	public void setSpecs(List<GoodsSpecVO> specs) {
		this.specs = specs;
	}
	
	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMainPic() {
		return mainPic;
	}

	public void setMainPic(String mainPic) {
		this.mainPic = mainPic;
	}

	public String getSharePic() {
		return sharePic;
	}

	public void setSharePic(String sharePic) {
		this.sharePic = sharePic;
	}

	public String getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(String supplierId) {
		this.supplierId = supplierId;
	}

	public String getActivityStarttime() {
		return activityStarttime;
	}

	public void setActivityStarttime(String activityStarttime) {
		this.activityStarttime = activityStarttime;
	}

	public String getActivityEndtime() {
		return activityEndtime;
	}

	public void setActivityEndtime(String activityEndtime) {
		this.activityEndtime = activityEndtime;
	}
}
